package com.zirenx.common.controller;

import com.zirenx.annotation.RouteMapping;
import com.zirenx.common.config.ConstantConfig;
import com.zirenx.utils.StringUtils;

@RouteMapping("/upload")
public class UploadController extends BaseController {

    /**
     * 进入上传页
     */
    public void toPage(){
        String number = get("number");  //上传数量
        if (StringUtils.isEmpty(number)){
            number = "9";
        }
        String elem = get("elem");  //标签id
        setAttr("number",number);
        setAttr("elem",elem);
        render(ConstantConfig.ADMIN_PATH + "common/upload.html");
    }

}
